Skip to content

fix(ptodsl): preserve vdup integer signedness - #1133

Merged
mouliangyu merged 3 commits into
hw-native-sys:mainfrom
Zhendong404:codex/issue-1102
Aug 7, 2026
Merged

fix(ptodsl): preserve vdup integer signedness#1133
mouliangyu merged 3 commits into
hw-native-sys:mainfrom
Zhendong404:codex/issue-1102

Conversation

@Zhendong404

@Zhendong404 Zhendong404 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Preserve signed and unsigned integer element types when pto.vdup broadcasts a scalar.
  • Add regression coverage for all i/si/ui 8/16/32-bit scalar types.
  • Verify vdup(ui16) composes with vlds(ui16*) and vor.

Reproduction

Validation

  • python ptodsl/tests/test_issue_1102_vdup.py
  • python lib/TileOps/issue_1102_repro.py
  • cmake --build /home/zhangzhendong/ptoas-workspace/builds/issue-1102 --target check-dsl -j2
  • PTODSL: 28/28 passed

Closes #1102

@Zhendong404
Zhendong404 marked this pull request as ready for review August 4, 2026 12:26
@Zhendong404
Zhendong404 marked this pull request as draft August 5, 2026 02:19
@Zhendong404 Zhendong404 changed the title fix(ptodsl): normalize signed vdup scalar operands (#1102) fix(ptodsl): preserve vdup integer signedness Aug 5, 2026
@Zhendong404
Zhendong404 marked this pull request as ready for review August 6, 2026 06:13
@mouliangyu
mouliangyu merged commit e1c4fd9 into hw-native-sys:main Aug 7, 2026
14 of 16 checks passed
@reedhecre

Copy link
Copy Markdown

A3 板测失败

  • 触发方式:merged
  • 源码提交:e1c4fd9af0f9
  • 结果汇总:OK 0 / FAIL 0 / SKIP 0
  • 日志:/home/zhongxuan/ptoas-board-monitor/runtime/logs/20260806_234118_merged_pr1133.log
  • 失败阶段:internal / fetch-source extract failed: Compressed file ended before the end-of-stream marker was reached

日志尾部

26-08-06 23:58:06 =====

===== INTERNAL ERROR =====
Traceback (most recent call last):
  File "/home/zhongxuan/ptoas-board-monitor/monitor.py", line 1765, in download_repo_archive
    tf.extractall(extract_root)
  File "/usr/lib64/python3.10/tarfile.py", line 2059, in extractall
    self.extract(tarinfo, path, set_attrs=not tarinfo.isdir(),
  File "/usr/lib64/python3.10/tarfile.py", line 2100, in extract
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name),
  File "/usr/lib64/python3.10/tarfile.py", line 2173, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "/usr/lib64/python3.10/tarfile.py", line 2222, in makefile
    copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
  File "/usr/lib64/python3.10/tarfile.py", line 254, in copyfileobj
    buf = src.read(remainder)
  File "/usr/lib64/python3.10/gzip.py", line 301, in read
    return self._buffer.read(size)
  File "/usr/lib64/python3.10/_compression.py", line 68, in readinto
    data = self.read(len(byte_view))
  File "/usr/lib64/python3.10/gzip.py", line 507, in read
    raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/zhongxuan/ptoas-board-monitor/monitor.py", line 3236, in run_once
    summary = runner.run()
  File "/home/zhongxuan/ptoas-board-monitor/monitor.py", line 2638, in run
    self.download_repo_archive()
  File "/home/zhongxuan/ptoas-board-monitor/monitor.py", line 1773, in download_repo_archive
    raise RuntimeError(f"fetch-source extract failed: {exc}") from exc
RuntimeError: fetch-source extract failed: Compressed file ended before the end-of-stream marker was reached

@reedhecre

Copy link
Copy Markdown

A5 板测成功

  • 触发方式:merged
  • 源码提交:e1c4fd9af0f9
  • 结果汇总:OK 21 / FAIL 0 / SKIP 0
  • 日志:/root/ptoas-board-monitor-a5/logs/20260807_144106_merged_pr1133.log
  • 结果 TSV:/root/ptoas-board-monitor-a5/logs/20260807_144106_merged_pr1133.tsv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [PTODSL] [阻塞] pto.vdup 无法处理 ui16/ui32 标量,生成的 operand 与 result 类型不一致

3 participants